package decorator;

public class CoffeeBar {

    public static void main(String[] args) {

        System.out.println("加牛奶巧克力的无因咖啡");
        Drink drink2 = new Mike(new Chocolate(new DeCaf()));
        drink2.message();
        System.out.println();

        System.out.println("加豆浆牛奶巧克力的美式咖啡");
        Drink drink3 = new Soy(new Mike(new Chocolate(new LongBlack())));
        drink3.message();

    }

}
